﻿using System;

namespace FlashPay.Util
{
    public class BaseModel<T>
    {
        public BaseModel()
        {
            PageIndex = 1;
            PageSize = 50;
            Success = false;
        }

        public Int32 TotalCount { get; set; }
        public Int32 PageIndex { get; set; }
        public Int32 PageSize { get; set; }

        public String Code { get; set; }
        public String Message { get; set; }
        public Boolean Success { get; set; }
        public int LoginUserID { get; set; }           //当前登陆用户ID
        public T Result { get; set; }
    }
}